package com.jy.api.signUpReq;

import com.jy.api.domain.StockOrder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 * Created by lihu on 2018/1/17.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StoreOrderSignUpReq {

    private String id;

    private int count;

    private double amount;

    private String address;

    private String mobile;

    private String name;

    private List<Items> items;

    private String orderUserName;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Items {

        private int productId;
        private int qty;
        private String spec;

        private double amount;

        private String productName;

        private int productTypeId;

        private String typeName;

    }

}
